/* 
* @Author: anchen
* @Date:   2017-06-15 15:48:02
* @Last Modified by:   anchen
* @Last Modified time: 2017-06-15 16:09:03
*/
var screenAnimateElements={
    '.screen-1':[
        '.screen-1__heading',
        '.screen-1__phone',
        '.screen-1__shadow'
    ]
}

function  setScreenAnimate(screenCls)
{
    var screen=document.querySelector(screenCls);  //获取当前屏幕的元素
    var animateElements=screenAnimateElements[screenCls]; //需要设置动画的元素
    screen.onclick=function(){
        //切换所有animateElements的 init -> done
        //切换所有animateElements的 done -> init
        
    }
}